package com.his.dictresource.service;

import com.his.dictresource.entity.ResourceControl;
import com.his.dictresource.entity.ResourceControlInfo;
import com.his.dictresource.vo.DictResourceVo;
import com.his.dictresource.vo.ResourceControlVo;
import com.his.login.entity.DictEmployee;

import java.util.List;


public interface ResourceControlService {
    /**
     * 查看排班控制表
     * @param  resourceControlVo
     * @return
     */
    ResourceControl selectResourceControl(ResourceControlVo resourceControlVo) throws Exception;
    
    /* 
     * 
     * 查询固定时间内的排班科室
     * [resourceControlVo] 
     * @return java.util.List<com.his.dictresource.entity.ResourceControl>
     * @date 2020/3/23 20:45
     */
    List<ResourceControlInfo> selectRosourceControlInfo(DictEmployee dictEmployee)  throws Exception;


    /*
     *
     * 查询号源剩余数量
     * [resourceControlVo]
     * @return java.util.List<com.his.dictresource.entity.ResourceControl>
     * @date 2020/3/23 20:45
     */
    List<ResourceControlInfo> selectRosourceControlRisdueamount(DictEmployee dictEmployee)  throws Exception;


    /**
     * 查询当前日期午别
     */
    List<ResourceControlInfo> selectDaytypeid(DictEmployee dictEmployee);

    /* 
     * 
     *  
     * [dictEmployee, resourceControlVo] 
     * @return java.util.List<com.his.dictresource.entity.ResourceControl>
     * @date 2020/3/24 17:53
     */
    List<ResourceControl> selectResourceControlDoctor(DictEmployee dictEmployee,ResourceControlVo resourceControlVo)  throws Exception;

    /**
     * 干预排班
     * @return
     */
//    void updateDictResource();


}
